/*
 * @Author: Clark
 * @Email: haixuanwoTxh@gmail.com
 * @Date: 2021-11-26 20:26:55
 * @LastEditors: Clark
 * @LastEditTime: 2021-11-26 20:36:22
 * @Description: file content
 */

#include "talk_server.h"

TalkServer::TalkServer(unsigned short port)
{
    tcpServer = new TcpServer(port);
}

bool TalkServer::init()
{
    tcpServer->init();
    return true;
}

bool TalkServer::start()
{
    tcpServer->start();
    return true;
}

TalkServer::~TalkServer()
{
    delete tcpServer;
}
